package com.douhulu.bytedance.open.api;


import com.douhulu.bytedance.common.error.ByteErrorException;

import java.util.Map;

/**
 * <h2> 奕泽云 -  </h2>
 *
 * @Author: 奕泽云 - 曾庆雷
 * @Email: 75881401@qq.com
 * @Since: 2022-05-01 14:33
 * CopyRight：山西威斯汀文化传播有限公司
 */
public interface ByteOpenService {

    ByteOpenOauthService getByteOpenOauthService();

    ByteOpenConfigStorage getByteOpenConfigStorage();

    void setByteOpenConfigStorage(ByteOpenConfigStorage byteOpenConfigStorage);

    String get(String url, Map<String, String> headers, String queryParam) throws ByteErrorException;

    String post(String url, Map<String, String> headers, String postData) throws ByteErrorException;
}
